package containerlogistik.implementation;

import static com.google.common.base.Preconditions.*;

public class StringUtils {

    /**
     * Reverse the given string.
     * @param string
     * @return reversed string
     */
    public static String reverse(String string) {
        checkNotNull(string);
        return new StringBuilder().append(string).reverse().toString();
    }
}
